Public Class Main
    Inherits System.Windows.Forms.Form

#Region " Windows Form Designer generated code "

    Public Sub New()
        MyBase.New()

        'This call is required by the Windows Form Designer.
        InitializeComponent()

        'Add any initialization after the InitializeComponent() call

    End Sub

    'Form overrides dispose to clean up the component list.
    Protected Overloads Overrides Sub Dispose(ByVal disposing As Boolean)
        If disposing Then
            If Not (components Is Nothing) Then
                components.Dispose()
            End If
        End If
        MyBase.Dispose(disposing)
    End Sub

    'Required by the Windows Form Designer
    Private components As System.ComponentModel.IContainer

    'NOTE: The following procedure is required by the Windows Form Designer
    'It can be modified using the Windows Form Designer.  
    'Do not modify it using the code editor.
    Friend WithEvents c_Title As System.Windows.Forms.LinkLabel
    <System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()
        Dim resources As System.Resources.ResourceManager = New System.Resources.ResourceManager(GetType(Main))
        Me.c_Title = New System.Windows.Forms.LinkLabel
        Me.SuspendLayout()
        '
        'c_Title
        '
        Me.c_Title.BackColor = System.Drawing.Color.Transparent
        Me.c_Title.Location = New System.Drawing.Point(10, 10)
        Me.c_Title.Name = "c_Title"
        Me.c_Title.Size = New System.Drawing.Size(280, 25)
        Me.c_Title.TabIndex = 0
        '
        'Main
        '
        Me.AutoScaleBaseSize = New System.Drawing.Size(5, 13)
        Me.BackColor = System.Drawing.Color.FromArgb(CType(230, Byte), CType(230, Byte), CType(230, Byte))
        Me.ClientSize = New System.Drawing.Size(298, 272)
        Me.Controls.Add(Me.c_Title)
        Me.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow
        Me.Icon = CType(resources.GetObject("$this.Icon"), System.Drawing.Icon)
        Me.MaximizeBox = False
        Me.MinimizeBox = False
        Me.Name = "Main"
        Me.ShowInTaskbar = False
        Me.SizeGripStyle = System.Windows.Forms.SizeGripStyle.Hide
        Me.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen
        Me.Text = "Woot!"
        Me.ResumeLayout(False)

    End Sub

#End Region

    Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
        Dim Document As System.Xml.XmlDocument = New System.Xml.XmlDocument
        Dim Title As String
        Dim Description As String

        Try
            Document.Load("http://www.woot.com/Blog/Feed.ashx")
            Title = Document.SelectSingleNode("/rss/channel/item/title").InnerText
            Description = Document.SelectSingleNode("/rss/channel/item/description").InnerText

            c_Title.Text = Title
            c_Title.Links.Add(0, c_Title.Text.Length, "http://www.woot.com/")
        Catch
            c_Title.Text = "Error, could not connect to woot.com"
        End Try
    End Sub
    Private Sub c_Output_LinkClicked(ByVal sender As System.Object, ByVal e As System.Windows.Forms.LinkLabelLinkClickedEventArgs) Handles c_Title.LinkClicked
        System.Diagnostics.Process.Start("http://www.woot.com")
    End Sub

    Private Sub c_AppTitle_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)

    End Sub
End Class

